package com.example.springboot.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @program: springboot
 * @description:
 * @author: MajorMKN
 * @create: 2019-10-09 10:47
 **/
public class PageResult implements Serializable {
    private long total; //记录总数
    private List rows;  //当前页

    public PageResult(long total,List rows){
        super();
        this.total = total;
        this.rows = rows;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }
}
